package com.xlh.dao.cs;

import com.xlh.pojo.cs.CsCourse;
import com.xlh.pojo.cs.CsCourseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CsCourseMapper {
    long countByExample(CsCourseExample example);

    int deleteByExample(CsCourseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CsCourse record);

    int insertSelective(CsCourse record);

    List<CsCourse> selectByExample(CsCourseExample example);

    CsCourse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CsCourse record, @Param("example") CsCourseExample example);

    int updateByExample(@Param("record") CsCourse record, @Param("example") CsCourseExample example);

    int updateByPrimaryKeySelective(CsCourse record);

    int updateByPrimaryKey(CsCourse record);
}